<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.9.1"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Qwt User&#39;s Guide: qwt_spline.h Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">Qwt User&#39;s Guide
   &#160;<span id="projectnumber">6.2.0</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.9.1 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search','.html');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(document).ready(function(){initNavTree('qwt__spline_8h_source.html',''); initResizable(); });
/* @license-end */
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="headertitle">
<div class="title">qwt_spline.h</div>  </div>
</div><!--header-->
<div class="contents">
<div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span>&#160;<span class="comment">/******************************************************************************</span></div>
<div class="line"><a name="l00002"></a><span class="lineno">    2</span>&#160;<span class="comment"> * Qwt Widget Library</span></div>
<div class="line"><a name="l00003"></a><span class="lineno">    3</span>&#160;<span class="comment"> * Copyright (C) 1997   Josef Wilgen</span></div>
<div class="line"><a name="l00004"></a><span class="lineno">    4</span>&#160;<span class="comment"> * Copyright (C) 2002   Uwe Rathmann</span></div>
<div class="line"><a name="l00005"></a><span class="lineno">    5</span>&#160;<span class="comment"> *</span></div>
<div class="line"><a name="l00006"></a><span class="lineno">    6</span>&#160;<span class="comment"> * This library is free software; you can redistribute it and/or</span></div>
<div class="line"><a name="l00007"></a><span class="lineno">    7</span>&#160;<span class="comment"> * modify it under the terms of the Qwt License, Version 1.0</span></div>
<div class="line"><a name="l00008"></a><span class="lineno">    8</span>&#160;<span class="comment"> *****************************************************************************/</span></div>
<div class="line"><a name="l00009"></a><span class="lineno">    9</span>&#160; </div>
<div class="line"><a name="l00010"></a><span class="lineno">   10</span>&#160;<span class="preprocessor">#ifndef QWT_SPLINE_H</span></div>
<div class="line"><a name="l00011"></a><span class="lineno">   11</span>&#160;<span class="preprocessor">#define QWT_SPLINE_H</span></div>
<div class="line"><a name="l00012"></a><span class="lineno">   12</span>&#160; </div>
<div class="line"><a name="l00013"></a><span class="lineno">   13</span>&#160;<span class="preprocessor">#include &quot;qwt_global.h&quot;</span></div>
<div class="line"><a name="l00014"></a><span class="lineno">   14</span>&#160;<span class="preprocessor">#include &quot;qwt_spline.h&quot;</span></div>
<div class="line"><a name="l00015"></a><span class="lineno">   15</span>&#160; </div>
<div class="line"><a name="l00016"></a><span class="lineno">   16</span>&#160;<span class="keyword">class </span><a class="code" href="class_qwt_spline_parametrization.html">QwtSplineParametrization</a>;</div>
<div class="line"><a name="l00017"></a><span class="lineno">   17</span>&#160;<span class="keyword">class </span><a class="code" href="class_qwt_spline_polynomial.html">QwtSplinePolynomial</a>;</div>
<div class="line"><a name="l00018"></a><span class="lineno">   18</span>&#160;<span class="keyword">class </span>QPainterPath;</div>
<div class="line"><a name="l00019"></a><span class="lineno">   19</span>&#160;<span class="keyword">class </span>QLineF;</div>
<div class="line"><a name="l00020"></a><span class="lineno">   20</span>&#160;<span class="keyword">class </span>QPolygonF;</div>
<div class="line"><a name="l00021"></a><span class="lineno">   21</span>&#160; </div>
<div class="line"><a name="l00022"></a><span class="lineno">   22</span>&#160;<span class="preprocessor">#if QT_VERSION &lt; 0x060000</span></div>
<div class="line"><a name="l00023"></a><span class="lineno">   23</span>&#160;<span class="keyword">template</span>&lt; <span class="keyword">typename</span> T &gt; <span class="keyword">class </span><a class="code" href="class_q_vector.html">QVector</a>;</div>
<div class="line"><a name="l00024"></a><span class="lineno">   24</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00025"></a><span class="lineno">   25</span>&#160; </div>
<div class="line"><a name="l00057"></a><span class="lineno"><a class="line" href="class_qwt_spline.html">   57</a></span>&#160;<span class="keyword">class </span>QWT_EXPORT <a class="code" href="class_qwt_spline.html">QwtSpline</a></div>
<div class="line"><a name="l00058"></a><span class="lineno">   58</span>&#160;{</div>
<div class="line"><a name="l00059"></a><span class="lineno">   59</span>&#160;  <span class="keyword">public</span>:</div>
<div class="line"><a name="l00065"></a><span class="lineno"><a class="line" href="class_qwt_spline.html#ad82b1f33946d2489511f5e697a32b128">   65</a></span>&#160;    <span class="keyword">enum</span> <a class="code" href="class_qwt_spline.html#ad82b1f33946d2489511f5e697a32b128">BoundaryType</a></div>
<div class="line"><a name="l00066"></a><span class="lineno">   66</span>&#160;    {</div>
<div class="line"><a name="l00072"></a><span class="lineno"><a class="line" href="class_qwt_spline.html#ad82b1f33946d2489511f5e697a32b128af5bf38b7f712e69c699458cd6dfef711">   72</a></span>&#160;        <a class="code" href="class_qwt_spline.html#ad82b1f33946d2489511f5e697a32b128af5bf38b7f712e69c699458cd6dfef711">ConditionalBoundaries</a>,</div>
<div class="line"><a name="l00073"></a><span class="lineno">   73</span>&#160; </div>
<div class="line"><a name="l00079"></a><span class="lineno"><a class="line" href="class_qwt_spline.html#ad82b1f33946d2489511f5e697a32b128aeec4576967e31745e7d96d3a8a016171">   79</a></span>&#160;        <a class="code" href="class_qwt_spline.html#ad82b1f33946d2489511f5e697a32b128aeec4576967e31745e7d96d3a8a016171">PeriodicPolygon</a>,</div>
<div class="line"><a name="l00080"></a><span class="lineno">   80</span>&#160; </div>
<div class="line"><a name="l00092"></a><span class="lineno">   92</span>&#160;        ClosedPolygon</div>
<div class="line"><a name="l00093"></a><span class="lineno"><a class="line" href="class_qwt_spline.html#ad82b1f33946d2489511f5e697a32b128a63108a1fe17778b7d9c236efc17774b1">   93</a></span>&#160;    };</div>
<div class="line"><a name="l00094"></a><span class="lineno">   94</span>&#160; </div>
<div class="line"><a name="l00099"></a><span class="lineno"><a class="line" href="class_qwt_spline.html#a21cca305dad4f1e21437953c4801595a">   99</a></span>&#160;    <span class="keyword">enum</span> <a class="code" href="class_qwt_spline.html#a21cca305dad4f1e21437953c4801595a">BoundaryPosition</a></div>
<div class="line"><a name="l00100"></a><span class="lineno">  100</span>&#160;    {</div>
<div class="line"><a name="l00102"></a><span class="lineno"><a class="line" href="class_qwt_spline.html#a21cca305dad4f1e21437953c4801595aa0efcdb6fbf1e583097ec297b43f26024">  102</a></span>&#160;        <a class="code" href="class_qwt_spline.html#a21cca305dad4f1e21437953c4801595aa0efcdb6fbf1e583097ec297b43f26024">AtBeginning</a>,</div>
<div class="line"><a name="l00103"></a><span class="lineno">  103</span>&#160; </div>
<div class="line"><a name="l00105"></a><span class="lineno">  105</span>&#160;        AtEnd</div>
<div class="line"><a name="l00106"></a><span class="lineno"><a class="line" href="class_qwt_spline.html#a21cca305dad4f1e21437953c4801595aa633399daff8a04d92e61ca776e878e55">  106</a></span>&#160;    };</div>
<div class="line"><a name="l00107"></a><span class="lineno">  107</span>&#160; </div>
<div class="line"><a name="l00119"></a><span class="lineno"><a class="line" href="class_qwt_spline.html#af2195032fa62c2b9fe74dc4d44b636cb">  119</a></span>&#160;    <span class="keyword">enum</span> <a class="code" href="class_qwt_spline.html#af2195032fa62c2b9fe74dc4d44b636cb">BoundaryCondition</a></div>
<div class="line"><a name="l00120"></a><span class="lineno">  120</span>&#160;    {</div>
<div class="line"><a name="l00125"></a><span class="lineno"><a class="line" href="class_qwt_spline.html#af2195032fa62c2b9fe74dc4d44b636cba94d03f64008ad0ed1e2e92bd96414028">  125</a></span>&#160;        <a class="code" href="class_qwt_spline.html#af2195032fa62c2b9fe74dc4d44b636cba94d03f64008ad0ed1e2e92bd96414028">Clamped1</a>,</div>
<div class="line"><a name="l00126"></a><span class="lineno">  126</span>&#160; </div>
<div class="line"><a name="l00134"></a><span class="lineno"><a class="line" href="class_qwt_spline.html#af2195032fa62c2b9fe74dc4d44b636cba43442b0f55b141b857d6c2ab56cd9afe">  134</a></span>&#160;        <a class="code" href="class_qwt_spline.html#af2195032fa62c2b9fe74dc4d44b636cba43442b0f55b141b857d6c2ab56cd9afe">Clamped2</a>,</div>
<div class="line"><a name="l00135"></a><span class="lineno">  135</span>&#160; </div>
<div class="line"><a name="l00143"></a><span class="lineno"><a class="line" href="class_qwt_spline.html#af2195032fa62c2b9fe74dc4d44b636cba897bc245acbf65ee2f1801c779de15b3">  143</a></span>&#160;        <a class="code" href="class_qwt_spline.html#af2195032fa62c2b9fe74dc4d44b636cba897bc245acbf65ee2f1801c779de15b3">Clamped3</a>,</div>
<div class="line"><a name="l00144"></a><span class="lineno">  144</span>&#160; </div>
<div class="line"><a name="l00153"></a><span class="lineno">  153</span>&#160;        LinearRunout</div>
<div class="line"><a name="l00154"></a><span class="lineno"><a class="line" href="class_qwt_spline.html#af2195032fa62c2b9fe74dc4d44b636cba6ad4241cc59f456d77eb70b289e5782a">  154</a></span>&#160;    };</div>
<div class="line"><a name="l00155"></a><span class="lineno">  155</span>&#160; </div>
<div class="line"><a name="l00156"></a><span class="lineno">  156</span>&#160;    <a class="code" href="class_qwt_spline.html">QwtSpline</a>();</div>
<div class="line"><a name="l00157"></a><span class="lineno">  157</span>&#160;    <span class="keyword">virtual</span> ~<a class="code" href="class_qwt_spline.html">QwtSpline</a>();</div>
<div class="line"><a name="l00158"></a><span class="lineno">  158</span>&#160; </div>
<div class="line"><a name="l00159"></a><span class="lineno">  159</span>&#160;    <span class="keywordtype">void</span> setParametrization( <span class="keywordtype">int</span> type );</div>
<div class="line"><a name="l00160"></a><span class="lineno">  160</span>&#160;    <span class="keywordtype">void</span> setParametrization( <a class="code" href="class_qwt_spline_parametrization.html">QwtSplineParametrization</a>* );</div>
<div class="line"><a name="l00161"></a><span class="lineno">  161</span>&#160;    <span class="keyword">const</span> <a class="code" href="class_qwt_spline_parametrization.html">QwtSplineParametrization</a>* parametrization() <span class="keyword">const</span>;</div>
<div class="line"><a name="l00162"></a><span class="lineno">  162</span>&#160; </div>
<div class="line"><a name="l00163"></a><span class="lineno">  163</span>&#160;    <span class="keywordtype">void</span> setBoundaryType( BoundaryType );</div>
<div class="line"><a name="l00164"></a><span class="lineno">  164</span>&#160;    BoundaryType boundaryType() <span class="keyword">const</span>;</div>
<div class="line"><a name="l00165"></a><span class="lineno">  165</span>&#160; </div>
<div class="line"><a name="l00166"></a><span class="lineno">  166</span>&#160;    <span class="keywordtype">void</span> setBoundaryValue( BoundaryPosition, <span class="keywordtype">double</span> value );</div>
<div class="line"><a name="l00167"></a><span class="lineno">  167</span>&#160;    <span class="keywordtype">double</span> boundaryValue( BoundaryPosition ) <span class="keyword">const</span>;</div>
<div class="line"><a name="l00168"></a><span class="lineno">  168</span>&#160; </div>
<div class="line"><a name="l00169"></a><span class="lineno">  169</span>&#160;    <span class="keywordtype">void</span> setBoundaryCondition( BoundaryPosition, <span class="keywordtype">int</span> condition );</div>
<div class="line"><a name="l00170"></a><span class="lineno">  170</span>&#160;    <span class="keywordtype">int</span> boundaryCondition( BoundaryPosition ) <span class="keyword">const</span>;</div>
<div class="line"><a name="l00171"></a><span class="lineno">  171</span>&#160; </div>
<div class="line"><a name="l00172"></a><span class="lineno">  172</span>&#160;    <span class="keywordtype">void</span> setBoundaryConditions( <span class="keywordtype">int</span> condition,</div>
<div class="line"><a name="l00173"></a><span class="lineno">  173</span>&#160;        <span class="keywordtype">double</span> valueBegin = 0.0, <span class="keywordtype">double</span> valueEnd = 0.0 );</div>
<div class="line"><a name="l00174"></a><span class="lineno">  174</span>&#160; </div>
<div class="line"><a name="l00175"></a><span class="lineno">  175</span>&#160;    <span class="keyword">virtual</span> QPolygonF polygon( <span class="keyword">const</span> QPolygonF&amp;, <span class="keywordtype">double</span> tolerance ) <span class="keyword">const</span>;</div>
<div class="line"><a name="l00176"></a><span class="lineno"><a class="line" href="class_qwt_spline.html#a34c5ddda039f15ec71de0523d9753b64">  176</a></span>&#160;    <span class="keyword">virtual</span> QPainterPath <a class="code" href="class_qwt_spline.html#a34c5ddda039f15ec71de0523d9753b64">painterPath</a>( <span class="keyword">const</span> QPolygonF&amp; ) <span class="keyword">const</span> = 0;</div>
<div class="line"><a name="l00177"></a><span class="lineno">  177</span>&#160; </div>
<div class="line"><a name="l00178"></a><span class="lineno">  178</span>&#160;    <span class="keyword">virtual</span> uint locality() <span class="keyword">const</span>;</div>
<div class="line"><a name="l00179"></a><span class="lineno">  179</span>&#160; </div>
<div class="line"><a name="l00180"></a><span class="lineno">  180</span>&#160;  <span class="keyword">private</span>:</div>
<div class="line"><a name="l00181"></a><span class="lineno">  181</span>&#160;    Q_DISABLE_COPY(<a class="code" href="class_qwt_spline.html">QwtSpline</a>)</div>
<div class="line"><a name="l00182"></a><span class="lineno">  182</span>&#160; </div>
<div class="line"><a name="l00183"></a><span class="lineno">  183</span>&#160;    <span class="keyword">class </span>PrivateData;</div>
<div class="line"><a name="l00184"></a><span class="lineno">  184</span>&#160;    PrivateData* m_data;</div>
<div class="line"><a name="l00185"></a><span class="lineno">  185</span>&#160;};</div>
<div class="line"><a name="l00186"></a><span class="lineno">  186</span>&#160; </div>
<div class="line"><a name="l00193"></a><span class="lineno"><a class="line" href="class_qwt_spline_interpolating.html">  193</a></span>&#160;<span class="keyword">class </span>QWT_EXPORT <a class="code" href="class_qwt_spline_interpolating.html">QwtSplineInterpolating</a> : <span class="keyword">public</span> <a class="code" href="class_qwt_spline.html">QwtSpline</a></div>
<div class="line"><a name="l00194"></a><span class="lineno">  194</span>&#160;{</div>
<div class="line"><a name="l00195"></a><span class="lineno">  195</span>&#160;  <span class="keyword">public</span>:</div>
<div class="line"><a name="l00196"></a><span class="lineno">  196</span>&#160;    <a class="code" href="class_qwt_spline_interpolating.html">QwtSplineInterpolating</a>();</div>
<div class="line"><a name="l00197"></a><span class="lineno">  197</span>&#160;    <span class="keyword">virtual</span> ~<a class="code" href="class_qwt_spline_interpolating.html">QwtSplineInterpolating</a>();</div>
<div class="line"><a name="l00198"></a><span class="lineno">  198</span>&#160; </div>
<div class="line"><a name="l00199"></a><span class="lineno">  199</span>&#160;    <span class="keyword">virtual</span> QPolygonF equidistantPolygon( <span class="keyword">const</span> QPolygonF&amp;,</div>
<div class="line"><a name="l00200"></a><span class="lineno">  200</span>&#160;        <span class="keywordtype">double</span> distance, <span class="keywordtype">bool</span> withNodes ) <span class="keyword">const</span>;</div>
<div class="line"><a name="l00201"></a><span class="lineno">  201</span>&#160; </div>
<div class="line"><a name="l00202"></a><span class="lineno">  202</span>&#160;    <span class="keyword">virtual</span> QPolygonF polygon(</div>
<div class="line"><a name="l00203"></a><span class="lineno">  203</span>&#160;        <span class="keyword">const</span> QPolygonF&amp;, <span class="keywordtype">double</span> tolerance ) <span class="keyword">const</span> QWT_OVERRIDE;</div>
<div class="line"><a name="l00204"></a><span class="lineno">  204</span>&#160; </div>
<div class="line"><a name="l00205"></a><span class="lineno">  205</span>&#160;    <span class="keyword">virtual</span> QPainterPath painterPath( <span class="keyword">const</span> QPolygonF&amp; ) <span class="keyword">const</span> QWT_OVERRIDE;</div>
<div class="line"><a name="l00206"></a><span class="lineno"><a class="line" href="class_qwt_spline_interpolating.html#a8db950cb52e6f12e51cfcb31e3bccf75">  206</a></span>&#160;    <span class="keyword">virtual</span> <a class="code" href="class_q_vector.html">QVector&lt; QLineF &gt;</a> <a class="code" href="class_qwt_spline_interpolating.html#a8db950cb52e6f12e51cfcb31e3bccf75">bezierControlLines</a>( <span class="keyword">const</span> QPolygonF&amp; ) <span class="keyword">const</span> = 0;</div>
<div class="line"><a name="l00207"></a><span class="lineno">  207</span>&#160; </div>
<div class="line"><a name="l00208"></a><span class="lineno">  208</span>&#160;  <span class="keyword">private</span>:</div>
<div class="line"><a name="l00209"></a><span class="lineno">  209</span>&#160;    Q_DISABLE_COPY(<a class="code" href="class_qwt_spline_interpolating.html">QwtSplineInterpolating</a>)</div>
<div class="line"><a name="l00210"></a><span class="lineno">  210</span>&#160;};</div>
<div class="line"><a name="l00211"></a><span class="lineno">  211</span>&#160; </div>
<div class="line"><a name="l00216"></a><span class="lineno"><a class="line" href="class_qwt_spline_g1.html">  216</a></span>&#160;<span class="keyword">class </span>QWT_EXPORT <a class="code" href="class_qwt_spline_g1.html">QwtSplineG1</a> : <span class="keyword">public</span> <a class="code" href="class_qwt_spline_interpolating.html">QwtSplineInterpolating</a></div>
<div class="line"><a name="l00217"></a><span class="lineno">  217</span>&#160;{</div>
<div class="line"><a name="l00218"></a><span class="lineno">  218</span>&#160;  <span class="keyword">public</span>:</div>
<div class="line"><a name="l00219"></a><span class="lineno">  219</span>&#160;    <a class="code" href="class_qwt_spline_g1.html">QwtSplineG1</a>();</div>
<div class="line"><a name="l00220"></a><span class="lineno">  220</span>&#160;    <span class="keyword">virtual</span> ~<a class="code" href="class_qwt_spline_g1.html">QwtSplineG1</a>();</div>
<div class="line"><a name="l00221"></a><span class="lineno">  221</span>&#160;};</div>
<div class="line"><a name="l00222"></a><span class="lineno">  222</span>&#160; </div>
<div class="line"><a name="l00235"></a><span class="lineno"><a class="line" href="class_qwt_spline_c1.html">  235</a></span>&#160;<span class="keyword">class </span>QWT_EXPORT <a class="code" href="class_qwt_spline_c1.html">QwtSplineC1</a> : <span class="keyword">public</span> <a class="code" href="class_qwt_spline_g1.html">QwtSplineG1</a></div>
<div class="line"><a name="l00236"></a><span class="lineno">  236</span>&#160;{</div>
<div class="line"><a name="l00237"></a><span class="lineno">  237</span>&#160;  <span class="keyword">public</span>:</div>
<div class="line"><a name="l00238"></a><span class="lineno">  238</span>&#160;    <a class="code" href="class_qwt_spline_c1.html">QwtSplineC1</a>();</div>
<div class="line"><a name="l00239"></a><span class="lineno">  239</span>&#160;    <span class="keyword">virtual</span> ~<a class="code" href="class_qwt_spline_c1.html">QwtSplineC1</a>();</div>
<div class="line"><a name="l00240"></a><span class="lineno">  240</span>&#160; </div>
<div class="line"><a name="l00241"></a><span class="lineno">  241</span>&#160;    <span class="keyword">virtual</span> QPainterPath painterPath( <span class="keyword">const</span> QPolygonF&amp; ) <span class="keyword">const</span> QWT_OVERRIDE;</div>
<div class="line"><a name="l00242"></a><span class="lineno">  242</span>&#160;    <span class="keyword">virtual</span> <a class="code" href="class_q_vector.html">QVector&lt; QLineF &gt;</a> bezierControlLines( <span class="keyword">const</span> QPolygonF&amp; ) <span class="keyword">const</span> QWT_OVERRIDE;</div>
<div class="line"><a name="l00243"></a><span class="lineno">  243</span>&#160; </div>
<div class="line"><a name="l00244"></a><span class="lineno">  244</span>&#160;    <span class="keyword">virtual</span> QPolygonF equidistantPolygon( <span class="keyword">const</span> QPolygonF&amp;,</div>
<div class="line"><a name="l00245"></a><span class="lineno">  245</span>&#160;        <span class="keywordtype">double</span> distance, <span class="keywordtype">bool</span> withNodes ) <span class="keyword">const</span> QWT_OVERRIDE;</div>
<div class="line"><a name="l00246"></a><span class="lineno">  246</span>&#160; </div>
<div class="line"><a name="l00247"></a><span class="lineno">  247</span>&#160;    <span class="comment">// these methods are the non parametric part</span></div>
<div class="line"><a name="l00248"></a><span class="lineno">  248</span>&#160;    <span class="keyword">virtual</span> <a class="code" href="class_q_vector.html">QVector&lt; QwtSplinePolynomial &gt;</a> polynomials( <span class="keyword">const</span> QPolygonF&amp; ) <span class="keyword">const</span>;</div>
<div class="line"><a name="l00249"></a><span class="lineno"><a class="line" href="class_qwt_spline_c1.html#a20caae8d9308f92a49da94315cd46537">  249</a></span>&#160;    <span class="keyword">virtual</span> <a class="code" href="class_q_vector.html">QVector&lt; double &gt;</a> <a class="code" href="class_qwt_spline_c1.html#a20caae8d9308f92a49da94315cd46537">slopes</a>( <span class="keyword">const</span> QPolygonF&amp; ) <span class="keyword">const</span> = 0;</div>
<div class="line"><a name="l00250"></a><span class="lineno">  250</span>&#160; </div>
<div class="line"><a name="l00251"></a><span class="lineno">  251</span>&#160;    <span class="keyword">virtual</span> <span class="keywordtype">double</span> slopeAtBeginning( <span class="keyword">const</span> QPolygonF&amp;, <span class="keywordtype">double</span> slopeNext ) <span class="keyword">const</span>;</div>
<div class="line"><a name="l00252"></a><span class="lineno">  252</span>&#160;    <span class="keyword">virtual</span> <span class="keywordtype">double</span> slopeAtEnd( <span class="keyword">const</span> QPolygonF&amp;, <span class="keywordtype">double</span> slopeBefore ) <span class="keyword">const</span>;</div>
<div class="line"><a name="l00253"></a><span class="lineno">  253</span>&#160;};</div>
<div class="line"><a name="l00254"></a><span class="lineno">  254</span>&#160; </div>
<div class="line"><a name="l00267"></a><span class="lineno"><a class="line" href="class_qwt_spline_c2.html">  267</a></span>&#160;<span class="keyword">class </span>QWT_EXPORT <a class="code" href="class_qwt_spline_c2.html">QwtSplineC2</a> : <span class="keyword">public</span> <a class="code" href="class_qwt_spline_c1.html">QwtSplineC1</a></div>
<div class="line"><a name="l00268"></a><span class="lineno">  268</span>&#160;{</div>
<div class="line"><a name="l00269"></a><span class="lineno">  269</span>&#160;  <span class="keyword">public</span>:</div>
<div class="line"><a name="l00275"></a><span class="lineno"><a class="line" href="class_qwt_spline_c2.html#aa26bfd4bf07baf03fcf47c8f73f632af">  275</a></span>&#160;    <span class="keyword">enum</span> <a class="code" href="class_qwt_spline_c2.html#aa26bfd4bf07baf03fcf47c8f73f632af">BoundaryConditionC2</a></div>
<div class="line"><a name="l00276"></a><span class="lineno">  276</span>&#160;    {</div>
<div class="line"><a name="l00283"></a><span class="lineno"><a class="line" href="class_qwt_spline_c2.html#aa26bfd4bf07baf03fcf47c8f73f632afa850dacde625b21daa3ee408df0400119">  283</a></span>&#160;        CubicRunout = LinearRunout + 1,</div>
<div class="line"><a name="l00284"></a><span class="lineno">  284</span>&#160; </div>
<div class="line"><a name="l00292"></a><span class="lineno">  292</span>&#160;        NotAKnot</div>
<div class="line"><a name="l00293"></a><span class="lineno"><a class="line" href="class_qwt_spline_c2.html#aa26bfd4bf07baf03fcf47c8f73f632afa1193d143aa03aa9c874bd9b26f57847b">  293</a></span>&#160;    };</div>
<div class="line"><a name="l00294"></a><span class="lineno">  294</span>&#160; </div>
<div class="line"><a name="l00295"></a><span class="lineno">  295</span>&#160;    <a class="code" href="class_qwt_spline_c2.html">QwtSplineC2</a>();</div>
<div class="line"><a name="l00296"></a><span class="lineno">  296</span>&#160;    <span class="keyword">virtual</span> ~<a class="code" href="class_qwt_spline_c2.html">QwtSplineC2</a>();</div>
<div class="line"><a name="l00297"></a><span class="lineno">  297</span>&#160; </div>
<div class="line"><a name="l00298"></a><span class="lineno">  298</span>&#160;    <span class="keyword">virtual</span> QPainterPath painterPath( <span class="keyword">const</span> QPolygonF&amp; ) <span class="keyword">const</span> QWT_OVERRIDE;</div>
<div class="line"><a name="l00299"></a><span class="lineno">  299</span>&#160;    <span class="keyword">virtual</span> <a class="code" href="class_q_vector.html">QVector&lt; QLineF &gt;</a> bezierControlLines( <span class="keyword">const</span> QPolygonF&amp; ) <span class="keyword">const</span> QWT_OVERRIDE;</div>
<div class="line"><a name="l00300"></a><span class="lineno">  300</span>&#160; </div>
<div class="line"><a name="l00301"></a><span class="lineno">  301</span>&#160;    <span class="keyword">virtual</span> QPolygonF equidistantPolygon( <span class="keyword">const</span> QPolygonF&amp;,</div>
<div class="line"><a name="l00302"></a><span class="lineno">  302</span>&#160;        <span class="keywordtype">double</span> distance, <span class="keywordtype">bool</span> withNodes ) <span class="keyword">const</span> QWT_OVERRIDE;</div>
<div class="line"><a name="l00303"></a><span class="lineno">  303</span>&#160; </div>
<div class="line"><a name="l00304"></a><span class="lineno">  304</span>&#160;    <span class="comment">// calculating the parametric equations</span></div>
<div class="line"><a name="l00305"></a><span class="lineno">  305</span>&#160;    <span class="keyword">virtual</span> <a class="code" href="class_q_vector.html">QVector&lt; QwtSplinePolynomial &gt;</a> polynomials( <span class="keyword">const</span> QPolygonF&amp; ) <span class="keyword">const</span> QWT_OVERRIDE;</div>
<div class="line"><a name="l00306"></a><span class="lineno">  306</span>&#160;    <span class="keyword">virtual</span> <a class="code" href="class_q_vector.html">QVector&lt; double &gt;</a> slopes( <span class="keyword">const</span> QPolygonF&amp; ) <span class="keyword">const</span> QWT_OVERRIDE;</div>
<div class="line"><a name="l00307"></a><span class="lineno"><a class="line" href="class_qwt_spline_c2.html#a7f1a5aeae77a7cfa955e9062e2fb259b">  307</a></span>&#160;    <span class="keyword">virtual</span> <a class="code" href="class_q_vector.html">QVector&lt; double &gt;</a> <a class="code" href="class_qwt_spline_c2.html#a7f1a5aeae77a7cfa955e9062e2fb259b">curvatures</a>( <span class="keyword">const</span> QPolygonF&amp; ) <span class="keyword">const</span> = 0;</div>
<div class="line"><a name="l00308"></a><span class="lineno">  308</span>&#160;};</div>
<div class="line"><a name="l00309"></a><span class="lineno">  309</span>&#160; </div>
<div class="line"><a name="l00310"></a><span class="lineno">  310</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="ttc" id="aclass_q_vector_html"><div class="ttname"><a href="class_q_vector.html">QVector</a></div><div class="ttdef"><b>Definition:</b> <a href="qwt__clipper_8h_source.html#l00023">qwt_clipper.h:23</a></div></div>
<div class="ttc" id="aclass_qwt_spline_c1_html"><div class="ttname"><a href="class_qwt_spline_c1.html">QwtSplineC1</a></div><div class="ttdoc">Base class for spline interpolations providing a first order parametric continuity ( C1 ) between adj...</div><div class="ttdef"><b>Definition:</b> <a href="qwt__spline_8h_source.html#l00235">qwt_spline.h:236</a></div></div>
<div class="ttc" id="aclass_qwt_spline_c1_html_a20caae8d9308f92a49da94315cd46537"><div class="ttname"><a href="class_qwt_spline_c1.html#a20caae8d9308f92a49da94315cd46537">QwtSplineC1::slopes</a></div><div class="ttdeci">virtual QVector&lt; double &gt; slopes(const QPolygonF &amp;) const =0</div><div class="ttdoc">Find the first derivative at the control points.</div></div>
<div class="ttc" id="aclass_qwt_spline_c2_html"><div class="ttname"><a href="class_qwt_spline_c2.html">QwtSplineC2</a></div><div class="ttdoc">Base class for spline interpolations providing a second order parametric continuity ( C2 ) between ad...</div><div class="ttdef"><b>Definition:</b> <a href="qwt__spline_8h_source.html#l00267">qwt_spline.h:268</a></div></div>
<div class="ttc" id="aclass_qwt_spline_c2_html_a7f1a5aeae77a7cfa955e9062e2fb259b"><div class="ttname"><a href="class_qwt_spline_c2.html#a7f1a5aeae77a7cfa955e9062e2fb259b">QwtSplineC2::curvatures</a></div><div class="ttdeci">virtual QVector&lt; double &gt; curvatures(const QPolygonF &amp;) const =0</div><div class="ttdoc">Find the second derivative at the control points.</div></div>
<div class="ttc" id="aclass_qwt_spline_c2_html_aa26bfd4bf07baf03fcf47c8f73f632af"><div class="ttname"><a href="class_qwt_spline_c2.html#aa26bfd4bf07baf03fcf47c8f73f632af">QwtSplineC2::BoundaryConditionC2</a></div><div class="ttdeci">BoundaryConditionC2</div><div class="ttdef"><b>Definition:</b> <a href="qwt__spline_8h_source.html#l00275">qwt_spline.h:276</a></div></div>
<div class="ttc" id="aclass_qwt_spline_g1_html"><div class="ttname"><a href="class_qwt_spline_g1.html">QwtSplineG1</a></div><div class="ttdoc">Base class for spline interpolations providing a first order geometric continuity ( G1 ) between adjo...</div><div class="ttdef"><b>Definition:</b> <a href="qwt__spline_8h_source.html#l00216">qwt_spline.h:217</a></div></div>
<div class="ttc" id="aclass_qwt_spline_html"><div class="ttname"><a href="class_qwt_spline.html">QwtSpline</a></div><div class="ttdoc">Base class for all splines.</div><div class="ttdef"><b>Definition:</b> <a href="qwt__spline_8h_source.html#l00057">qwt_spline.h:58</a></div></div>
<div class="ttc" id="aclass_qwt_spline_html_a21cca305dad4f1e21437953c4801595a"><div class="ttname"><a href="class_qwt_spline.html#a21cca305dad4f1e21437953c4801595a">QwtSpline::BoundaryPosition</a></div><div class="ttdeci">BoundaryPosition</div><div class="ttdef"><b>Definition:</b> <a href="qwt__spline_8h_source.html#l00099">qwt_spline.h:100</a></div></div>
<div class="ttc" id="aclass_qwt_spline_html_a21cca305dad4f1e21437953c4801595aa0efcdb6fbf1e583097ec297b43f26024"><div class="ttname"><a href="class_qwt_spline.html#a21cca305dad4f1e21437953c4801595aa0efcdb6fbf1e583097ec297b43f26024">QwtSpline::AtBeginning</a></div><div class="ttdeci">@ AtBeginning</div><div class="ttdoc">the condition is at the beginning of the polynomial</div><div class="ttdef"><b>Definition:</b> <a href="qwt__spline_8h_source.html#l00102">qwt_spline.h:102</a></div></div>
<div class="ttc" id="aclass_qwt_spline_html_a34c5ddda039f15ec71de0523d9753b64"><div class="ttname"><a href="class_qwt_spline.html#a34c5ddda039f15ec71de0523d9753b64">QwtSpline::painterPath</a></div><div class="ttdeci">virtual QPainterPath painterPath(const QPolygonF &amp;) const =0</div></div>
<div class="ttc" id="aclass_qwt_spline_html_ad82b1f33946d2489511f5e697a32b128"><div class="ttname"><a href="class_qwt_spline.html#ad82b1f33946d2489511f5e697a32b128">QwtSpline::BoundaryType</a></div><div class="ttdeci">BoundaryType</div><div class="ttdef"><b>Definition:</b> <a href="qwt__spline_8h_source.html#l00065">qwt_spline.h:66</a></div></div>
<div class="ttc" id="aclass_qwt_spline_html_ad82b1f33946d2489511f5e697a32b128aeec4576967e31745e7d96d3a8a016171"><div class="ttname"><a href="class_qwt_spline.html#ad82b1f33946d2489511f5e697a32b128aeec4576967e31745e7d96d3a8a016171">QwtSpline::PeriodicPolygon</a></div><div class="ttdeci">@ PeriodicPolygon</div><div class="ttdef"><b>Definition:</b> <a href="qwt__spline_8h_source.html#l00079">qwt_spline.h:79</a></div></div>
<div class="ttc" id="aclass_qwt_spline_html_ad82b1f33946d2489511f5e697a32b128af5bf38b7f712e69c699458cd6dfef711"><div class="ttname"><a href="class_qwt_spline.html#ad82b1f33946d2489511f5e697a32b128af5bf38b7f712e69c699458cd6dfef711">QwtSpline::ConditionalBoundaries</a></div><div class="ttdeci">@ ConditionalBoundaries</div><div class="ttdef"><b>Definition:</b> <a href="qwt__spline_8h_source.html#l00072">qwt_spline.h:72</a></div></div>
<div class="ttc" id="aclass_qwt_spline_html_af2195032fa62c2b9fe74dc4d44b636cb"><div class="ttname"><a href="class_qwt_spline.html#af2195032fa62c2b9fe74dc4d44b636cb">QwtSpline::BoundaryCondition</a></div><div class="ttdeci">BoundaryCondition</div><div class="ttdoc">Boundary condition.</div><div class="ttdef"><b>Definition:</b> <a href="qwt__spline_8h_source.html#l00119">qwt_spline.h:120</a></div></div>
<div class="ttc" id="aclass_qwt_spline_html_af2195032fa62c2b9fe74dc4d44b636cba43442b0f55b141b857d6c2ab56cd9afe"><div class="ttname"><a href="class_qwt_spline.html#af2195032fa62c2b9fe74dc4d44b636cba43442b0f55b141b857d6c2ab56cd9afe">QwtSpline::Clamped2</a></div><div class="ttdeci">@ Clamped2</div><div class="ttdef"><b>Definition:</b> <a href="qwt__spline_8h_source.html#l00134">qwt_spline.h:134</a></div></div>
<div class="ttc" id="aclass_qwt_spline_html_af2195032fa62c2b9fe74dc4d44b636cba897bc245acbf65ee2f1801c779de15b3"><div class="ttname"><a href="class_qwt_spline.html#af2195032fa62c2b9fe74dc4d44b636cba897bc245acbf65ee2f1801c779de15b3">QwtSpline::Clamped3</a></div><div class="ttdeci">@ Clamped3</div><div class="ttdef"><b>Definition:</b> <a href="qwt__spline_8h_source.html#l00143">qwt_spline.h:143</a></div></div>
<div class="ttc" id="aclass_qwt_spline_html_af2195032fa62c2b9fe74dc4d44b636cba94d03f64008ad0ed1e2e92bd96414028"><div class="ttname"><a href="class_qwt_spline.html#af2195032fa62c2b9fe74dc4d44b636cba94d03f64008ad0ed1e2e92bd96414028">QwtSpline::Clamped1</a></div><div class="ttdeci">@ Clamped1</div><div class="ttdef"><b>Definition:</b> <a href="qwt__spline_8h_source.html#l00125">qwt_spline.h:125</a></div></div>
<div class="ttc" id="aclass_qwt_spline_interpolating_html"><div class="ttname"><a href="class_qwt_spline_interpolating.html">QwtSplineInterpolating</a></div><div class="ttdoc">Base class for a spline interpolation.</div><div class="ttdef"><b>Definition:</b> <a href="qwt__spline_8h_source.html#l00193">qwt_spline.h:194</a></div></div>
<div class="ttc" id="aclass_qwt_spline_interpolating_html_a8db950cb52e6f12e51cfcb31e3bccf75"><div class="ttname"><a href="class_qwt_spline_interpolating.html#a8db950cb52e6f12e51cfcb31e3bccf75">QwtSplineInterpolating::bezierControlLines</a></div><div class="ttdeci">virtual QVector&lt; QLineF &gt; bezierControlLines(const QPolygonF &amp;) const =0</div><div class="ttdoc">Interpolate a curve with Bezier curves.</div></div>
<div class="ttc" id="aclass_qwt_spline_parametrization_html"><div class="ttname"><a href="class_qwt_spline_parametrization.html">QwtSplineParametrization</a></div><div class="ttdoc">Curve parametrization used for a spline interpolation.</div><div class="ttdef"><b>Definition:</b> <a href="qwt__spline__parametrization_8h_source.html#l00044">qwt_spline_parametrization.h:45</a></div></div>
<div class="ttc" id="aclass_qwt_spline_polynomial_html"><div class="ttname"><a href="class_qwt_spline_polynomial.html">QwtSplinePolynomial</a></div><div class="ttdoc">A cubic polynomial without constant term.</div><div class="ttdef"><b>Definition:</b> <a href="qwt__spline__polynomial_8h_source.html#l00030">qwt_spline_polynomial.h:31</a></div></div>
</div><!-- fragment --></div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="dir_68267d1309a1af8e8297ef4c3efbcdba.html">src</a></li><li class="navelem"><b>qwt_spline.h</b></li>
    <li class="footer">Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.1 </li>
  </ul>
</div>
</body>
</html>
